using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// <summary>
/// This object represents the properties and methods of a Action.
/// </summary>
namespace YouHP.Model
{
	public class ActionInfo  : IHydratable
	{
		public int Id { get; set;}
		public int FromUserId { get; set; }
		public string FromUserName { get; set; }
		public int ToUserId { get; set; }
		public string ToUserName { get; set; }
		public int ActionType { get; set; }
		public string Remark { get; set; }
		public DateTime PostTime { get; set; }

        public string FromUserAvatar { get; set; }
        public int IsRead { get; set; }
		
		public ActionInfo()
		{
            Id = FromUserId = ToUserId = -1;
            FromUserName = ToUserName = Remark = "";
            ActionType = IsRead = 0;
		}
		
		#region IHydratable
		public bool Fill(System.Data.IDataReader dr)
		{
			return false;
		}
		#endregion
	}
}